/* 导航栏样式 */
/* Reset some basic elements */
body, h1, h2, h3, p, ul, li {
  margin: 0;
  padding: 0;
}

/* Style the navigation bar */
nav {
  background-color: #333;
  overflow: hidden;
}

/* Style the navigation list */
.nav-list {
  list-style-type: none;
}

/* Style the list items */
.nav-list li {
  float: left;
}

/* Style the links */
.nav-list li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change color on hover */
.nav-list li a:hover {
  background-color: #111;
}



.modal{
  /* 默认不显示模态框 */
  display: none;
  position: relative;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 15%;
  height: 20%;
  overflow: auto;
  background-color: rgb(255, 252, 252);
}
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}
.informations:hover .modal{
  display: block;
}
.modal_title .quit{
  display: flex;
  justify-content: center; 
  align-items: center; 
}
